3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
A specular control object specifies the specular reflection exponent used in the Phong and related illumination models.
Container (
AttributeSet ( )
DiffuseColor ( 1 0 0 ) # red
SpecularColor ( 1 1 1 ) # white highlights
SpecularControl ( 60 ) # sharp fall-off
)
Ellipsoid( )
)
Previous | QD3D Book | Overview | Chapter Contents | Next |